<?php

namespace App\Controllers;

use Laravel\Lumen\Routing\Controller;

class BaseController extends Controller
{
    public $allows = [];

    public function __construct()
    {
        $this->middleware('auth', ['except' => $this->allows]);
    }
}
